Visualization/animation of programs in Alma: obtaining different results

نویسندگان

  • Maria João Varanda Pereira
  • Pedro Rangel Henriques
چکیده

Alma, a system for program animation, receives as input a computer program and produces a sequence of visualizations that will describe its functionality. The system generates automatically program animations basing this process on the internal representation of those programs. The backend of this system works over an execution tree (DAST Decorated Abstract Syntax Tree), implementing the animation algorithm. This algorithm uses two bases of rules: visualizing rules (to associate graphical representation with program elements creating a visual description of the program state) and rewriting rules (to change the program state). In this paper, the main goal will be to present the extensibility of the system in the sense of adding or modifying inputs and outputs. We also discuss the characteristics of Alma’s architecture that make this possible.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Code Inspection Approaches for Program Visualization

The aim of this paper is to show the approaches involved in the implementation of two tools of PCVIA project that can be used for Program Comprehension. Both tools use known compiler techniques to inspect code in order to visualize and understand programs’ execution but one of them modifies the source code and the other not. In the non-invasive approach, we convert the source program into an in...

متن کامل

Alma: a Generic Program Animation System

In this paper, a system for program animation is presented. Alma system receives as input a computer program and produces a sequence of visualizations that will describe its functionality. The system generates automatically program animations basing this process on the internal representation of those programs. We do not rely upon any source program annotations (visual/animation statements, or ...

متن کامل

A Framework for Automatic Algorithm Animation

Algorithm animation and data visualization have been shown to help people understand the behavior of algorithms and programs. Different approaches to algorithm animation and data visualization have been tried, but all the existing systems have drawbacks. On one hand, algorithm animation systems can generate nice animations, but users have to modify the original program and code the animation sc...

متن کامل

Chapter 1 Algorithm Animation Introduction

An algorithm animation (AA) visualizes the behavior of an algorithm by producing an abstraction of both the data and the operations of the algorithm. Initially it maps the current state of the algorithm into an image, which then is animated based on the operations between two succeeding states in the algorithm execution. Animating an algorithm allows for better understanding of the inner workin...

متن کامل

Automatic Software Visualization

The problems of reconciling spatial and temporal dimensions of source code have been with us since the advent of programming. Although the notion of visually representing the internal states and actions of a computer is not new but for algorithm animation, at least, it involves a heavy time penalty on designing and implementing the animation. We have attempted to automate this process by provid...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003